<template>
	<view class="huodong-mode">
		<image :src="item.imgUrl" mode="aspectFill"></image>
		<text>{{item.name}}</text>
		<text>{{item.date}}</text>
	</view>
</template>

<script>
export default {
	data() {
		return {};
	},
	props:{
		item:{
			type:Object
		}
	},
	components: {},
	onLoad() {},

	methods: {}
};
</script>

<style lang="scss">
.huodong-mode {
	margin-bottom: 50upx;
	image {
		width: 100%;
		height: 200upx;
	}
	text {
		display: block;
		&:nth-of-type(1) {
			padding: 20upx 0;
			font-size: 32upx;
			font-family: Source Han Sans CN;
			font-weight: 500;
			color: #333333;
			overflow: hidden;
			text-overflow: ellipsis;
			white-space: nowrap;
		}
		&:nth-of-type(2) {
font-size: 25upx;
font-family: PingFang SC;
font-weight: 500;
color: #99999F;
		}
	}
}
</style>
